home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000139_brent@hebron.connected.com_Wed Dec 22 02:35:33 1993.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from hebron.connected.com by cs.umb.edu with SMTP id AA17013
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 22 Dec 1993 13:37:09 -0500
  3. Received: by hebron.connected.com id <13286>; Wed, 22 Dec 1993 10:35:38 -0800
  4. From: Brent Ewing <brent@hebron.connected.com>
  5. To: tex-k@cs.umb.edu
  6. Subject: Hi!
  7. Message-Id: <93Dec22.103538pst.13286@hebron.connected.com>
  8. Date:     Wed, 22 Dec 1993 10:35:33 -0800
  9.  
  10.                 December 22, 1993
  11.  
  12. Dear Karl,
  13.  
  14.   I installed xdvik-1.4 on an SGI Indigo R3000 with IRIX 4.0.5F and
  15. the ANSI C 2.0.4 compiler yesterday.  It worked well except for two
  16. peculiar interactions with MakeTeXPK (MakeTeXPK invoked automatically).
  17.   It appeared that the xdvi program wanted font pixel files at 328 pixels
  18. but the MetaFont program created files at 329 pixels. So each time xdvi
  19. ran on the same dvi file it repeated the calls to MakeTeXPK.  I believe
  20. I removed the confusion by modifying a float-to-integer conversion in the
  21. file font-open.c.  In the function font_open, I changed the
  22. kpse_find_glyph_format function call to
  23.  
  24.    kpse_find_glyph_format( font, (unsigned)( dpi + 0.5 ),
  25.                            kpse_any_glyph_format, &file_ret );
  26.  
  27.   Also, unless I defined the environment variable XDVIFONTS with the pixel
  28. file subdirectory, xdvi invoked MakeTeXPK, and MakeTeXPK, knowing the
  29. path to the pixel file independently and explicitly, announced that the
  30. files already existed.  After calling MakeTeXPK, the xdvi program seemed
  31. to find the pixel files and it ran great, but the monologues from MakeTeXPK
  32. appeared pointless.  (The texfontdir variable in the Makefiles for both
  33. xdvik and kpathsea were correctly defined as /usr/local/lib/tex/fonts and
  34. the pixel files are in the subdirectory /usr/local/lib/tex/fonts/pk.) I
  35. suppose that the kpathsea functions are meant to search down the tex font
  36. directory tree, so I figure that xdvi is meant to find these fonts in the
  37. pixel file subdirectory.  But maybe I'm wrong.  Anyway, I gave up on this
  38. one when I found that defining XDVIFONTS stopped the chatter.
  39.   I appreciate your efforts in making this great program available to people
  40. like me: I save lots of paper and time using xdvi - thank you.
  41.  
  42.                 Best Wishes,
  43.                 Brent Ewing
  44.  
  45.  
  46.